﻿<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
    <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>

    <xsl:template match="/root">

          <table class="datatable" border="0" cellpadding="0" cellspacing="0">
            <tr>
				<th>Email Redirect</th>
            </tr>
			  
            <xsl:for-each select="/root/item">
              <tr>
                <td>
					<xsl:value-of select="./genxml/textbox/txtfromemail" disable-output-escaping="yes"/>
					<xsl:text>@</xsl:text>
					<xsl:value-of select="substring-after(./genxml/hidden/liveurlonemail,'.')" disable-output-escaping="yes"/>
					<xsl:text> -></xsl:text>
					<xsl:value-of select="./genxml/textbox/txttoemail" disable-output-escaping="yes"/>
				</td>
              </tr>

            </xsl:for-each>

          </table>

   
    </xsl:template>

</xsl:stylesheet>
